-- GENERATED SPELL FOR [Caelestrasz] --


function spell0_15379(pUnit, Event) --@Molten Rain,n/a--
pUnit:FullCastSpellOnTarget(25150,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15379', 2000, 1)
end

function Sorts_15379(pUnit, Event)
local choix_sorts_15379 = math.random(0, 0)
if choix_sorts_15379 == 0 then
pUnit:RegisterEvent('spell0_15379', 1, 1)
end
end

function mob15379_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15379', math.random(1500, 3000), 1)
end

function mob15379_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15379_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15379_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15379, 1, 'mob15379_Action')
RegisterUnitEvent(15379, 2, 'mob15379_Leave')
RegisterUnitEvent(15379, 3, 'mob15379_Kill')
RegisterUnitEvent(15379, 4, 'mob15379_Die')
